'use strict';

const conn = require('../../libs/Conn');
const util = require('../../libs/Utils');

module.exports = async function (params) {
    let structure_ids = params.structure_id.split(',');
    let delObj = {
        delete_sign:2,
    };
    let sql = 'UPDATE  structure_file SET ? WHERE structure_id IN (?);';
    await conn(sql, [delObj,structure_ids]);
    return {success: true};
};